﻿using B.S.BaseData.ErrorCode;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace B.S.BaseData.Write.Api.Application.Command.MainCommand
{
    public class AddMainCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool Sex { get; set; }
        /// <summary>
        /// 省份id
        /// </summary>
        public string EconomizeName { get; set; }
        /// <summary>
        /// 市id
        /// </summary>
        public string MarketName { get; set; }
        /// <summary>
        /// 县id
        /// </summary>
        public string CityName { get; set; }
        /// <summary>
        /// 地址详情
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int? UserId { get; set; }
    }
}
